package com.woniuxy.dao;

import com.woniuxy.pojo.Communication;

import java.util.List;

public interface CommunicationMapper {

    /**
     * 通过客户编号查找交往记录
     * @param commCustNo
     * @return
     */
    public List<Communication> selectCommunicationByCommCustNo(String commCustNo);

    /**
     * 增加交往记录
     * @param communication
     * @return
     */
    public int insertCommunication(Communication communication);

    /**
     * 通过编号查找交往记录
     * @param commNo
     * @return
     */
    public Communication selectCommunicationByCommNo(String commNo);

    /**
     * 编辑交往记录
     * @param
     */
    public void updateCommunication(Communication communication);

    /**
     * 删除交往记录
     * @param
     */
    public void deleteCommunication(String commNo);



}
